> ## Documentation Index
> Fetch the complete documentation index at: https://sequence-0fb8d9e6-api_docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Swaps Quickstart

> Quickstart Guide on how to make Smart Swaps using Sequence's Unreal SDK.

<Warning>
  The examples below apply to versions 2.x.x.
  If you’re using version 3, use the SequenceEmbeddedWalletBP (Blueprints) and SequenceEmbeddedWallet (C++) classes instead.
</Warning>

<Steps>
  <Step title="Get Swap Price">
    Get a price for a given token pair. Alternatively, call `GetSwapPrices` to get a list of available options.
    Make sure that a DEX such as `UniSwap` has enough funds for your tokens.

    <Frame>
      <img src="https://mintcdn.com/sequence-0fb8d9e6-api_docs/auazpVRK2iFuGS6h/images/unreal/get_swap_price.png?fit=max&auto=format&n=auazpVRK2iFuGS6h&q=85&s=4a7255f18d94e2bb19beb5de7724d264" width="2074" height="1104" data-path="images/unreal/get_swap_price.png" />
    </Frame>
  </Step>

  <Step title="Get Swap Quote">
    When you know the price for a given token pair, call `Get Swap Quote` for the same pair to get the required
    transaction data for your swap.
  </Step>

  <Step title="Send Transaction">
    Now that you have your transaction data from `Get Swap Quote`, you construct a transaction object and first
    add the `Approve Data` and then the `Transaction Data` to it. Make sure that the order of calling `Add Raw` is the same.

    <Frame>
      <img src="https://mintcdn.com/sequence-0fb8d9e6-api_docs/auazpVRK2iFuGS6h/images/unreal/guides/send_swap_transaction.png?fit=max&auto=format&n=auazpVRK2iFuGS6h&q=85&s=62e090c3e89c35a34a53a34078f7eaf8" width="2850" height="1452" data-path="images/unreal/guides/send_swap_transaction.png" />
    </Frame>
  </Step>
</Steps>
